package com.example.demo.service;

import com.example.demo.pojo.Book;
import com.example.demo.pojo.request.BaseRequest;
import com.example.demo.pojo.request.BookRequest;
import com.example.demo.pojo.request.UserPageRequest;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBookService {
    List<Book> list();

    PageInfo<Book> page(BookRequest bookRequest);

    void save(Book Book);

    Book getUser(Integer id);

    void getIDUser(Book Book);

    void delete(Integer id);
}
